package com.anivia.common.log;

import jakarta.servlet.http.HttpServletRequest;

/**
 * 请求日志处理类
 */
public interface RequestLogHandler {
    /**
     * 打印日志
     */
    void printLog(HttpServletRequest request, AniviaResponseWrapper response);

    /**
     * 初始化
     *
     * @param request
     */
    void init(HttpServletRequest request);

    /**
     * 清理缓存
     */
    void clear();

}
